package com.bird.component.lang.util

import cn.hutool.core.util.ObjectUtil

/**
 * 判断 当前对象为null
 */
fun Any?.isnull(): Boolean {
    return this == null
}

/**
 * 判断 当前对象不为null
 */
fun Any?.nonnull(): Boolean {
    return this != null
}
/**
 * 判断 当前对象不为empty
 */
fun Any?.anyNotEmpty():Boolean{
    return ObjectUtil.isNotEmpty(this)
}
